package cz.data.common.jackson.mixin;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import cz.data.common.jackson.DataGrantedAuthorityDeserializer;

@JsonTypeInfo(
        use = JsonTypeInfo.Id.NONE
)
@JsonAutoDetect(
        fieldVisibility = JsonAutoDetect.Visibility.NONE,
        getterVisibility = JsonAutoDetect.Visibility.PUBLIC_ONLY,
        isGetterVisibility = JsonAutoDetect.Visibility.NONE
)
@JsonDeserialize(using = DataGrantedAuthorityDeserializer.class)
@JsonIgnoreProperties(
        ignoreUnknown = true
)
public class DataGrantedAuthorityMixin {
}
